.class public Lcom/waiqin365/base/login/fragment/activity/ZYDKTixingSettingActivity;
.super Lcom/waiqin365/lightapp/base/WqBaseActivity;

# interfaces
.implements Landroid/view/View$OnClickListener;


# instance fields
.field private a:Lcom/waiqin365/base/login/mainview/TitleBar;

.field private b:Lcom/baoyz/swipemenulistview/SwipeMenuListView;

.field private c:Landroid/widget/TextView;

.field private d:Ljava/util/List;

.field private e:Lcom/waiqin365/base/login/a/b;

.field private f:Lcom/baoyz/swipemenulistview/c;


# direct methods
.method public constructor <init>()V
    .locals 0

    invoke-direct {p0}, Lcom/waiqin365/lightapp/base/WqBaseActivity;-><init>()V

    return-void
.end method

.method static synthetic a(Lcom/waiqin365/base/login/fragment/activity/ZYDKTixingSettingActivity;)Ljava/util/List;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/base/login/fragment/activity/ZYDKTixingSettingActivity;->d:Ljava/util/List;

    return-object v0
.end method

.method private b()V
    .locals 3

    const/16 v2, 0x8

    const/4 v1, 0x0

    iget-object v0, p0, Lcom/waiqin365/base/login/fragment/activity/ZYDKTixingSettingActivity;->d:Ljava/util/List;

    if-nez v0, :cond_0

    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Lcom/waiqin365/base/login/fragment/activity/ZYDKTixingSettingActivity;->d:Ljava/util/List;

    :cond_0
    iget-object v0, p0, Lcom/waiqin365/base/login/fragment/activity/ZYDKTixingSettingActivity;->d:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v0

    if-lez v0, :cond_1

    iget-object v0, p0, Lcom/waiqin365/base/login/fragment/activity/ZYDKTixingSettingActivity;->b:Lcom/baoyz/swipemenulistview/SwipeMenuListView;

    invoke-virtual {v0, v1}, Lcom/baoyz/swipemenulistview/SwipeMenuListView;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/base/login/fragment/activity/ZYDKTixingSettingActivity;->c:Landroid/widget/TextView;

    invoke-virtual {v0, v2}, Landroid/widget/TextView;->setVisibility(I)V

    :goto_0
    return-void

    :cond_1
    iget-object v0, p0, Lcom/waiqin365/base/login/fragment/activity/ZYDKTixingSettingActivity;->b:Lcom/baoyz/swipemenulistview/SwipeMenuListView;

    invoke-virtual {v0, v2}, Lcom/baoyz/swipemenulistview/SwipeMenuListView;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/base/login/fragment/activity/ZYDKTixingSettingActivity;->c:Landroid/widget/TextView;

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setVisibility(I)V

    goto :goto_0
.end method

.method static synthetic b(Lcom/waiqin365/base/login/fragment/activity/ZYDKTixingSettingActivity;)V
    .locals 0

    invoke-direct {p0}, Lcom/waiqin365/base/login/fragment/activity/ZYDKTixingSettingActivity;->b()V

    return-void
.end method

.method static synthetic c(Lcom/waiqin365/base/login/fragment/activity/ZYDKTixingSettingActivity;)Lcom/waiqin365/base/login/a/b;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/base/login/fragment/activity/ZYDKTixingSettingActivity;->e:Lcom/waiqin365/base/login/a/b;

    return-object v0
.end method


# virtual methods
.method public a()V
    .locals 3

    const v0, 0x7f0c0599

    invoke-virtual {p0, v0}, Lcom/waiqin365/base/login/fragment/activity/ZYDKTixingSettingActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/base/login/mainview/TitleBar;

    iput-object v0, p0, Lcom/waiqin365/base/login/fragment/activity/ZYDKTixingSettingActivity;->a:Lcom/waiqin365/base/login/mainview/TitleBar;

    iget-object v0, p0, Lcom/waiqin365/base/login/fragment/activity/ZYDKTixingSettingActivity;->a:Lcom/waiqin365/base/login/mainview/TitleBar;

    invoke-virtual {p0}, Lcom/waiqin365/base/login/fragment/activity/ZYDKTixingSettingActivity;->getResources()Landroid/content/res/Resources;

    move-result-object v1

    const v2, 0x7f0803cd

    invoke-virtual {v1, v2}, Landroid/content/res/Resources;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/waiqin365/base/login/mainview/TitleBar;->setTitleText(Ljava/lang/String;)V

    iget-object v0, p0, Lcom/waiqin365/base/login/fragment/activity/ZYDKTixingSettingActivity;->a:Lcom/waiqin365/base/login/mainview/TitleBar;

    iget-object v0, v0, Lcom/waiqin365/base/login/mainview/TitleBar;->b:Landroid/widget/ImageButton;

    const v1, 0x7f020253

    invoke-virtual {v0, v1}, Landroid/widget/ImageButton;->setBackgroundResource(I)V

    iget-object v0, p0, Lcom/waiqin365/base/login/fragment/activity/ZYDKTixingSettingActivity;->a:Lcom/waiqin365/base/login/mainview/TitleBar;

    iget-object v0, v0, Lcom/waiqin365/base/login/mainview/TitleBar;->b:Landroid/widget/ImageButton;

    invoke-virtual {v0, p0}, Landroid/widget/ImageButton;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    iget-object v0, p0, Lcom/waiqin365/base/login/fragment/activity/ZYDKTixingSettingActivity;->a:Lcom/waiqin365/base/login/mainview/TitleBar;

    iget-object v0, v0, Lcom/waiqin365/base/login/mainview/TitleBar;->i:Landroid/view/View;

    invoke-virtual {v0, p0}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    iget-object v0, p0, Lcom/waiqin365/base/login/fragment/activity/ZYDKTixingSettingActivity;->a:Lcom/waiqin365/base/login/mainview/TitleBar;

    iget-object v0, v0, Lcom/waiqin365/base/login/mainview/TitleBar;->a:Landroid/widget/ImageButton;

    invoke-virtual {v0, p0}, Landroid/widget/ImageButton;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    iget-object v0, p0, Lcom/waiqin365/base/login/fragment/activity/ZYDKTixingSettingActivity;->a:Lcom/waiqin365/base/login/mainview/TitleBar;

    iget-object v0, v0, Lcom/waiqin365/base/login/mainview/TitleBar;->g:Landroid/view/View;

    invoke-virtual {v0, p0}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    const v0, 0x7f0c059a

    invoke-virtual {p0, v0}, Lcom/waiqin365/base/login/fragment/activity/ZYDKTixingSettingActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lcom/baoyz/swipemenulistview/SwipeMenuListView;

    iput-object v0, p0, Lcom/waiqin365/base/login/fragment/activity/ZYDKTixingSettingActivity;->b:Lcom/baoyz/swipemenulistview/SwipeMenuListView;

    const v0, 0x7f0c059c

    invoke-virtual {p0, v0}, Lcom/waiqin365/base/login/fragment/activity/ZYDKTixingSettingActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/waiqin365/base/login/fragment/activity/ZYDKTixingSettingActivity;->c:Landroid/widget/TextView;

    invoke-static {p0}, Lcom/waiqin365/base/db/zydk/f;->a(Landroid/content/Context;)Lcom/waiqin365/base/db/zydk/f;

    move-result-object v0

    invoke-virtual {v0}, Lcom/waiqin365/base/db/zydk/f;->a()Ljava/util/List;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/base/login/fragment/activity/ZYDKTixingSettingActivity;->d:Ljava/util/List;

    invoke-direct {p0}, Lcom/waiqin365/base/login/fragment/activity/ZYDKTixingSettingActivity;->b()V

    new-instance v0, Lcom/waiqin365/base/login/a/b;

    iget-object v1, p0, Lcom/waiqin365/base/login/fragment/activity/ZYDKTixingSettingActivity;->d:Ljava/util/List;

    invoke-direct {v0, p0, v1}, Lcom/waiqin365/base/login/a/b;-><init>(Landroid/content/Context;Ljava/util/List;)V

    iput-object v0, p0, Lcom/waiqin365/base/login/fragment/activity/ZYDKTixingSettingActivity;->e:Lcom/waiqin365/base/login/a/b;

    iget-object v0, p0, Lcom/waiqin365/base/login/fragment/activity/ZYDKTixingSettingActivity;->b:Lcom/baoyz/swipemenulistview/SwipeMenuListView;

    new-instance v1, Lcom/waiqin365/base/login/fragment/activity/ae;

    invoke-direct {v1, p0}, Lcom/waiqin365/base/login/fragment/activity/ae;-><init>(Lcom/waiqin365/base/login/fragment/activity/ZYDKTixingSettingActivity;)V

    invoke-virtual {v0, v1}, Lcom/baoyz/swipemenulistview/SwipeMenuListView;->setOnItemClickListener(Landroid/widget/AdapterView$OnItemClickListener;)V

    iget-object v0, p0, Lcom/waiqin365/base/login/fragment/activity/ZYDKTixingSettingActivity;->b:Lcom/baoyz/swipemenulistview/SwipeMenuListView;

    iget-object v1, p0, Lcom/waiqin365/base/login/fragment/activity/ZYDKTixingSettingActivity;->e:Lcom/waiqin365/base/login/a/b;

    invoke-virtual {v0, v1}, Lcom/baoyz/swipemenulistview/SwipeMenuListView;->setAdapter(Landroid/widget/ListAdapter;)V

    new-instance v0, Lcom/waiqin365/base/login/fragment/activity/af;

    invoke-direct {v0, p0}, Lcom/waiqin365/base/login/fragment/activity/af;-><init>(Lcom/waiqin365/base/login/fragment/activity/ZYDKTixingSettingActivity;)V

    iput-object v0, p0, Lcom/waiqin365/base/login/fragment/activity/ZYDKTixingSettingActivity;->f:Lcom/baoyz/swipemenulistview/c;

    iget-object v0, p0, Lcom/waiqin365/base/login/fragment/activity/ZYDKTixingSettingActivity;->b:Lcom/baoyz/swipemenulistview/SwipeMenuListView;

    iget-object v1, p0, Lcom/waiqin365/base/login/fragment/activity/ZYDKTixingSettingActivity;->f:Lcom/baoyz/swipemenulistview/c;

    invoke-virtual {v0, v1}, Lcom/baoyz/swipemenulistview/SwipeMenuListView;->setMenuCreator(Lcom/baoyz/swipemenulistview/c;)V

    iget-object v0, p0, Lcom/waiqin365/base/login/fragment/activity/ZYDKTixingSettingActivity;->b:Lcom/baoyz/swipemenulistview/SwipeMenuListView;

    new-instance v1, Lcom/waiqin365/base/login/fragment/activity/ag;

    invoke-direct {v1, p0}, Lcom/waiqin365/base/login/fragment/activity/ag;-><init>(Lcom/waiqin365/base/login/fragment/activity/ZYDKTixingSettingActivity;)V

    invoke-virtual {v0, v1}, Lcom/baoyz/swipemenulistview/SwipeMenuListView;->setMenuRefresh(Lcom/baoyz/swipemenulistview/i;)V

    iget-object v0, p0, Lcom/waiqin365/base/login/fragment/activity/ZYDKTixingSettingActivity;->b:Lcom/baoyz/swipemenulistview/SwipeMenuListView;

    new-instance v1, Lcom/waiqin365/base/login/fragment/activity/ah;

    invoke-direct {v1, p0}, Lcom/waiqin365/base/login/fragment/activity/ah;-><init>(Lcom/waiqin365/base/login/fragment/activity/ZYDKTixingSettingActivity;)V

    invoke-virtual {v0, v1}, Lcom/baoyz/swipemenulistview/SwipeMenuListView;->setOnMenuItemClickListener(Lcom/baoyz/swipemenulistview/g;)V

    return-void
.end method

.method protected onActivityResult(IILandroid/content/Intent;)V
    .locals 2

    invoke-super {p0, p1, p2, p3}, Lcom/waiqin365/lightapp/base/WqBaseActivity;->onActivityResult(IILandroid/content/Intent;)V

    const/4 v0, -0x1

    if-ne p2, v0, :cond_0

    invoke-static {p0}, Lcom/waiqin365/base/db/zydk/f;->a(Landroid/content/Context;)Lcom/waiqin365/base/db/zydk/f;

    move-result-object v0

    invoke-virtual {v0}, Lcom/waiqin365/base/db/zydk/f;->a()Ljava/util/List;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/base/login/fragment/activity/ZYDKTixingSettingActivity;->d:Ljava/util/List;

    invoke-direct {p0}, Lcom/waiqin365/base/login/fragment/activity/ZYDKTixingSettingActivity;->b()V

    iget-object v0, p0, Lcom/waiqin365/base/login/fragment/activity/ZYDKTixingSettingActivity;->e:Lcom/waiqin365/base/login/a/b;

    iget-object v1, p0, Lcom/waiqin365/base/login/fragment/activity/ZYDKTixingSettingActivity;->d:Ljava/util/List;

    invoke-virtual {v0, v1}, Lcom/waiqin365/base/login/a/b;->a(Ljava/util/List;)V

    :cond_0
    return-void
.end method

.method public onClick(Landroid/view/View;)V
    .locals 2

    invoke-virtual {p1}, Landroid/view/View;->getId()I

    move-result v0

    packed-switch v0, :pswitch_data_0

    :goto_0
    :pswitch_0
    return-void

    :pswitch_1
    new-instance v0, Lcom/waiqin365/lightapp/kaoqin/NotificationReceiver;

    invoke-direct {v0}, Lcom/waiqin365/lightapp/kaoqin/NotificationReceiver;-><init>()V

    invoke-virtual {v0, p0}, Lcom/waiqin365/lightapp/kaoqin/NotificationReceiver;->a(Landroid/content/Context;)V

    invoke-virtual {p0}, Lcom/waiqin365/base/login/fragment/activity/ZYDKTixingSettingActivity;->back()V

    goto :goto_0

    :pswitch_2
    new-instance v0, Landroid/content/Intent;

    const-class v1, Lcom/waiqin365/base/login/fragment/activity/ZYDKTixingAddActivity;

    invoke-direct {v0, p0, v1}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    const/4 v1, 0x0

    invoke-virtual {p0, v0, v1}, Lcom/waiqin365/base/login/fragment/activity/ZYDKTixingSettingActivity;->startActivityForResult(Landroid/content/Intent;I)V

    const v0, 0x7f040022

    const v1, 0x7f040021

    invoke-virtual {p0, v0, v1}, Lcom/waiqin365/base/login/fragment/activity/ZYDKTixingSettingActivity;->overridePendingTransition(II)V

    goto :goto_0

    nop

    :pswitch_data_0
    .packed-switch 0x7f0c0089
        :pswitch_1
        :pswitch_1
        :pswitch_0
        :pswitch_0
        :pswitch_0
        :pswitch_2
        :pswitch_0
        :pswitch_2
    .end packed-switch
.end method

.method protected onCreate(Landroid/os/Bundle;)V
    .locals 1

    invoke-super {p0, p1}, Lcom/waiqin365/lightapp/base/WqBaseActivity;->onCreate(Landroid/os/Bundle;)V

    invoke-static {p0}, Lcom/fiberhome/gaea/client/d/a;->b(Landroid/app/Activity;)V

    const v0, 0x7f0300f0

    invoke-virtual {p0, v0}, Lcom/waiqin365/base/login/fragment/activity/ZYDKTixingSettingActivity;->setContentView(I)V

    invoke-virtual {p0}, Lcom/waiqin365/base/login/fragment/activity/ZYDKTixingSettingActivity;->a()V

    return-void
.end method
